package com.ganyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ganyu.domain.ResponseResult;
import com.ganyu.domain.entity.Menu;

/**
 * DATA: 2022/9/28
 * Author: 晨夕
 */
public interface MenuService  extends IService<Menu> {
    //获取menu集合
    ResponseResult getMenuList(String menuName,String status);

    //添加menu
    ResponseResult addMenu(Menu menu);

    //修改menu
    ResponseResult updateMenu(Menu menu);

    //查找menu
    ResponseResult selectMenu(Long id);

    //删除menu
    ResponseResult deleteMenu(Long menuId);

    //获取树型menu
    ResponseResult getMenuTree();

    //获取树型menu
    ResponseResult getMenuTree(Long id);
}
